<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.*"%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>修改数据</title>
</head>
<body>
<div id="app" style="position:absolute;left:450px;top:30px;border:2px solid #606266;width:400px;heigth:100">

    <h3>修改品牌</h3>
    <form action="/bookLibary_war/updateServlet" method="post">
        <%--隐藏域，提交id--%>
        <input type="hidden" name="id" value="${log.id}">
        姓名：<input name="user_name" value="${log.user_name}"><br><hr>
        性别：<input name="sex" value="${log.sex}"><br><hr>
        联系方式：<input name="phon" value="${log.phon}"><br><hr>
        住址：<textarea rows="5" cols="20" name="home" >${log.home}</textarea><br><hr>
        创建时间：<input type="date" name="head_time" <fmt:formatDate value="${log.head_time}" pattern="yyyy-MM-dd"/> <br><hr>
        过期时间：<input type="date" name="end_time" <fmt:formatDate value="${log.end_time}" pattern="yyyy-MM-dd"/>
        <input type="submit" value="提交"><br><br>
    </form>

</div>
</body>
</html>
